<template>
  <div id="contain">
    <div>
      <slot name="icon"/>
      {{lesson.title}}
    </div>
    <div>
      <slot name="del" :id="lesson.id"/>
    </div>
  </div>
</template>

<script>
export default {
  props:['lesson'],
}
</script>

<style>
#contain{
  width:100%;
  display:flex;
  justify-content:space-between;
  padding:5px 0;
}
</style>